Wayland support was merged into mutter master.
src/gnome-shell-extension-prefs
src/gnome-shell-extension-tool
src/gnome-shell-hotplug-sniffer
-src/gnome-shell-jhbuild
src/gnome-shell-perf-helper
src/gnome-shell-perf-tool
-src/gnome-shell-real
-src/gnome-shell-wayland
src/hotplug-sniffer/org.gnome.Shell.HotplugSniffer.service
src/run-js-test
src/test-recorder
PKG_CHECK_MODULES(GNOME_SHELL, $SHARED_PCS)
PKG_CHECK_MODULES(MUTTER, libmutter >= $MUTTER_MIN_VERSION)
-PKG_CHECK_MODULES(MUTTER_WAYLAND, [libmutter-wayland >= $MUTTER_MIN_VERSION],
- [MUTTER_WAYLAND_TYPELIB_DIR=`$PKG_CONFIG --variable=typelibdir libmutter-wayland`
- AC_SUBST(MUTTER_WAYLAND_TYPELIB_DIR)
- have_mutter_wayland=yes],
- [have_mutter_wayland=no])
-
-AM_CONDITIONAL(HAVE_MUTTER_WAYLAND, test $have_mutter_wayland != no)
PKG_CHECK_MODULES(GNOME_SHELL_JS, gio-2.0 gjs-internals-1.0 >= $GJS_MIN_VERSION)
PKG_CHECK_MODULES(ST, clutter-1.0 gtk+-3.0 libcroco-0.6 >= 0.6.8 x11)
desktopdir=$(datadir)/applications
-desktop_DATA = gnome-shell.desktop gnome-shell-extension-prefs.desktop
-if HAVE_MUTTER_WAYLAND
-desktop_DATA += gnome-shell-wayland.desktop
-endif HAVE_MUTTER_WAYLAND
-
+desktop_DATA = gnome-shell.desktop gnome-shell-wayland.desktop gnome-shell-extension-prefs.desktop
# We substitute in bindir so it works as an autostart
# file when built in a non-system prefix
Type=Application
_Name=GNOME Shell (wayland compositor)
_Comment=Window management and application launching
-Exec=@bindir@/mutter-launch -- gnome-shell-wayland --wayland --display-server
+Exec=@bindir@/mutter-launch -- gnome-shell --wayland --display-server
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-shell
X-GNOME-Bugzilla-Component=general
global.logError = window.log;
global.log = window.log;
- if (!Meta.is_wayland_compositor)
- Meta.is_wayland_compositor = function () { return false; };
-
// Chain up async errors reported from C
global.connect('notify-error', function (global, msg, detail) { notifyError(msg, detail); });
EXTRA_DIST += gnome-shell-extension-tool.in gnome-shell-perf-tool.in
bin_PROGRAMS = gnome-shell gnome-shell-extension-prefs
-if HAVE_MUTTER_WAYLAND
-bin_PROGRAMS += gnome-shell-wayland
-endif HAVE_MUTTER_WAYLAND
-
generated_script_substitutions = \
-e "s|@bindir[@]|$(bindir)|g" \
-e "s|@datadir[@]|$(datadir)|g" \
privlib_LTLIBRARIES = libgnome-shell-js.la libgnome-shell-menu.la libgnome-shell.la
noinst_LTLIBRARIES += libgnome-shell-base.la
-if HAVE_MUTTER_WAYLAND
-privlib_LTLIBRARIES += libgnome-shell-wayland.la
-endif HAVE_MUTTER_WAYLAND
-
shell_built_sources = \
shell-enum-types.h \
shell-enum-types.c
gnome_shell_LDADD = libgnome-shell.la libgnome-shell-js.la $(GNOME_SHELL_LIBS) $(MUTTER_LIBS)
gnome_shell_DEPENDENCIES = libgnome-shell.la
-if HAVE_MUTTER_WAYLAND
-libgnome_shell_wayland_la_SOURCES = $(libgnome_shell_sources)
-nodist_libgnome_shell_wayland_la_SOURCES = $(libgnome_shell_built_sources)
-
-gnome_shell_wayland_SOURCES = main.c
-gnome_shell_wayland_CPPFLAGS = \
- -DHAVE_WAYLAND \
- -DMUTTER_TYPELIB_DIR=\"$(MUTTER_WAYLAND_TYPELIB_DIR)\" \
- $(MUTTER_WAYLAND_CFLAGS) \
- $(gnome_shell_cflags)
-
-gnome_shell_wayland_LDADD = libgnome-shell-wayland.la libgnome-shell-js.la $(GNOME_SHELL_LIBS) $(MUTTER_WAYLAND_LIBS)
-gnome_shell_wayland_DEPENDENCIES = libgnome-shell-wayland.la
-endif HAVE_MUTTER_WAYLAND
-
gnome_shell_extension_prefs_SOURCES = \
gnome-shell-extension-prefs.c \
$(NULL)
libgnome_shell_la_LIBADD = $(GNOME_SHELL_LIBS) $(MUTTER_LIBS) libgnome-shell-base.la
libgnome_shell_la_CPPFLAGS = $(MUTTER_CFLAGS) $(gnome_shell_cflags)
-if HAVE_MUTTER_WAYLAND
-libgnome_shell_wayland_la_LDFLAGS = $(libgnome_shell_ldflags)
-libgnome_shell_wayland_la_LIBADD = $(MUTTER_WAYLAND_LIBS) libgnome-shell-base.la
-libgnome_shell_wayland_la_CPPFLAGS = $(MUTTER_WAYLAND_CFLAGS) -DHAVE_WAYLAND $(gnome_shell_cflags)
-endif HAVE_MUTTER_WAYLAND
-
ShellMenu-0.1.gir: libgnome-shell-menu.la
ShellMenu_0_1_gir_INCLUDES = Gio-2.0
ShellMenu_0_1_gir_CFLAGS = $(libgnome_shell_menu_la_CPPFLAGS) -I $(srcdir)
Shell_0_1_gir_INCLUDES += NetworkManager-1.0 NMClient-1.0
endif
Shell_0_1_gir_CFLAGS = $(libgnome_shell_la_CPPFLAGS) -I $(srcdir)
-# Hack! we use PROGRAM instead of LIBS so that the soname is not included
-# in the typelib. This way the symbols will be resolved with the libgnome-shell
-# linked against the executable (which will be libgnome-shell-wayland for
-# gnome-shell-wayland)
-Shell_0_1_gir_PROGRAM = $(builddir)/gnome-shell
+Shell_0_1_gir_LIBS = libgnome-shell.la
Shell_0_1_gir_FILES = $(libgnome_shell_la_gir_sources)
Shell_0_1_gir_SCANNERFLAGS = \
--include-uninstalled=$(builddir)/St-1.0.gir \
}
#endif
-#ifdef HAVE_WAYLAND
if (meta_is_wayland_compositor ())
return FALSE;
-#endif
/*
* Pass the event to shell-global for XDND
global->stage = CLUTTER_STAGE (meta_get_stage_for_screen (global->meta_screen));
-#ifdef HAVE_WAYLAND
if (meta_is_wayland_compositor ())
{
/* When Mutter is acting as its own display server then the
global->stage_xwindow = None;
}
else
-#endif
{
global->stage_xwindow = clutter_x11_get_stage_window (global->stage);
global->ibus_window = gdk_x11_window_foreign_new_for_display (global->gdk_display,